﻿using System;
using System.Collections.Generic;
using System.Text;

namespace ElevatorSIM
{
    public class Language
    {
        public bool isChinese=true;
        public string File
        {
            get
            {
                if(isChinese)
                    return "文件";
                else  return "File";
                    
            }
        }

        public string New
        {
            get
            {
                if(isChinese)
                    return "新建";
                else  return "New";
                    
            }
        }

        public string Open
        {
            get
            {
                if(isChinese)
                    return "打开";
                else  return "Open";
                    
            }
        }

        public string Group_Control_Strategy_Project
        {
            get
            {
                if(isChinese)
                    return "群控策略项目";
                else return " Group Control Strategy Project";
                    
            }
        }

        public string Elevator_Behavior_Project
        {
            get
            {
                if(isChinese)
                    return "电梯行为项目";
                else return "Elevator Behavior Project";
                    
            }
        }

        public string Passenger_Traffic_Generation_Project
        {
            get
            {
                if(isChinese)
                    return "客流生成项目";
                else return "Passenger Traffic Generation Project";
                    
            }
        }


         public string Analysis_Module_Project
        {
            get
            {
                if(isChinese)
                    return "分析模块项目";
                else return "Analysis Module Project";
                    
            }
        }
       

        public string Exit
        {
            get
            {
                if(isChinese)
                    return "退出";
                else  return "Exit";
                    
            }
        }

        public string Settings
        {
            get
            {
                if(isChinese)
                    return "设置";
                else return "Settings";
                    
            }
        }

        public string Passenger_Flow_File
        {
            get
            {
                if(isChinese)
                    return "客流文件";
                else return "Passenger Flow File";
                    
            }
        }

        public string Control_Strategy
        {
            get
            {
                if(isChinese)
                    return "控制策略";
                else return "Control Strategy";
                    
            }
        }

        public string Elevator_Behavior
        {
            get
            {
                if(isChinese)
                    return "电梯行为";
                else return "Elevator Behavior";
                    
            }
        }


        public string Analysis_Module 
        {
            get
            {
                if (isChinese)
                    return "分析模块";
                else return "Analysis Module";

            }
        }

        public string System_Settings
        {
            get
            {
                if (isChinese)
                    return "系统设置";
                else return "System Settings";

            }
        }

        public string Run
        {
            get
            {
                if (isChinese)
                    return "运行";
                else return "Run";

            }
        }


        public string Start
        {
            get
            {
                if (isChinese)
                    return "开始";
                else return "Start";

            }
        }

        public string Suspend
        {
            get
            {
                if (isChinese)
                    return "暂停";
                else return "Suspend";

            }
        }

        public string Stop
        {
            get
            {
                if (isChinese)
                    return "停止";
                else return "Stop";

            }
        }

        public string Single_Step
        {
            get
            {
                if (isChinese)
                    return "单步";
                else return "Single Step";

            }
        }
       

        public string Help
        {
            get
            {
                if (isChinese)
                    return "帮助";
                else return "Help";

            }
        }

        public string Getting_Started
        {
            get
            {
                if (isChinese)
                    return "如何开始";
                else return "Getting Started";

            }
        }

        public string ElevatorLib_Manual
        {
            get
            {
                if (isChinese)
                    return "ElevatorLib手册";
                else return "ElevatorLib Manual";

            }
        }

        public string ElevatorSIM_Manual
        {
            get
            {
                if (isChinese)
                    return "ElevatorSIM手册";
                else return "ElevatorSIM Manual";

            }
        }

        public string About_ElevatorSIM
        {
            get
            {
                if (isChinese)
                    return "关于 ElevatorSIM";
                else return "About ElevatorSIM";

            }
        }

        public string Certain_Button_Text
        {
            get
            {
                if (isChinese)
                    return "确定";
                else return "OK";

            }
        }

        public string Apply_Button_Text
        {
            get
            {
                if (isChinese)
                    return "应用";
                else return "Apply";

            }
        }

        public string Language_Type
        {
            get
            {
                if (isChinese)
                    return "语言";
                else return "Language";

            }
        }

        public string FloorNum
        {
            get
            {
                if (isChinese)
                    return "大楼楼层";
                else return "FloorNum";

            }
        }
        public string FloorHeight
        {
            get
            {
                if (isChinese)
                    return "各楼高度";
                else return "FloorHeight";

            }
        }

        public string ElevatorNum
        {
            get
            {
                if (isChinese)
                    return "电梯数量";
                else return "ElevatorNum";

            }
        }

        public string Container
        {
            get
            {
                if (isChinese)
                    return "轿厢容量";
                else return "Container";

            }
        }

        public string Velocity
        {
            get
            {
                if (isChinese)
                    return "电梯速度";
                else return "Velocity";

            }
        }

        public string OpenCloseTime
        {
            get
            {
                if (isChinese)
                    return "开门时间";
                else return "OpenCloseTime";

            }
        }

        public string RunningBehavior
        {
            get
            {
                if (isChinese)
                    return "电梯运行方式";
                else return "RunningBehavior";

            }
        }

        public string PersonCreator
        {
            get
            {
                if (isChinese)
                    return "客流形成方式";
                else return "PersonCreator";

            }
        }

        public string Strategy
        {
            get
            {
                if (isChinese)
                    return "外部群控策略";
                else return "Strategy";

            }
        }

        public string Analysis
        {
            get
            {
                if (isChinese)
                    return "外部统计分析";
                else return "Analysis";

            }
        }

        public string Parameter_Header
        {
            get
            {
                if (isChinese)
                    return "参数设置";
                else return "ParameterSetting";

            }
        }

        public string System_Header
        {
            get
            {
                if (isChinese)
                    return "系统信息";
                else return "System Information";

            }
        }

        public string Begins_Initialize_Simulation_Environment
        {
            get
            {
                if (isChinese)
                    return "开始初始化仿真环境";
                else return "Begins to initialize the simulation environment";

            }
        }

        public string Initialization_Complete
        {
            get
            {
                if (isChinese)
                    return "初始化结束";
                else return "Initialization is complete";

            }
        }
        public string Passenger_Data_Name
        {
            get
            {
                if (isChinese)
                    return "客流数据名";
                else return "The name of passenger data";

            }
        }

        public string Author
        {
            get
            {
                if (isChinese)
                    return "作者";
                else return "Author";

            }
        }

        public string Description
        {
            get
            {
                if (isChinese)
                    return "描述";
                else return "Description";

            }
        }

        public string Strategy_Name
        {
            get
            {
                if (isChinese)
                    return "策略名称";
                else return "Strategy";

            }
        }
        
        

        public string ReadPersonDatError
        {
            get
            {
                if (isChinese)
                    return "读取客户流文件失败";
                else return "Read PersonDat Failed";

            }
        }

        public void ChangeLanguage(string language)
        {
            if (language.Equals("简体中文"))
                isChinese = true;
            else isChinese = false;
        }

        public Language(string language)
        {
            if (language.Equals("简体中文"))
                isChinese = true;
            else isChinese = false;
        }

       
    }
}
